package com.kfyang.manualgear.annotation.crud;

import org.intellij.lang.annotations.Language;

import java.lang.annotation.*;

/**
 * 标注在方法上，用于动态拼接 sql
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.CLASS)
@Documented
@Repeatable(Frags.class)
public @interface Frag {
    String id();
    @Language("simple")
    String value();
    @Language("simple")
    String cond();
}
